package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Exercise;

import java.util.ArrayList;
import java.util.List;

public interface ExerciseService {
    void add(ArrayList<Exercise> exerciseList);

    PageResult findByPage(QueryPageBean queryPageBean);

    List<Exercise> findCurrentPage(QueryPageBean queryPageBean);

    void deleteById(Integer id);

    List<Exercise> findAll();
}
